#!/bin/bash

if [ $# -lt 5 ]
then
	echo "Error: incorrect number of arguments."
	echo "Usage: ConsistencyCheck.sh file_type tree_type cs_input cs_consistent cs_inconsistent"
	exit
fi

script_dir=$(dirname $0)
file_type=$1
tree_type=$2
cs_input=$3
cs_consistent=$4
cs_inconsistent=$5

java -cp $script_dir/../../bin:$script_dir/../../jars/gems-2009.11-bin.jar proc.ConsistencyCheck -filetype $file_type -treetype $tree_type $cs_input $cs_consistent $cs_inconsistent